package com.bcxj.apipassenger;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * ClassName: ${NAME}
 * Package: com.bcxj
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/9/11 18:57
 * @Version 1.0
 * @Since 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient // 开启服务注册与发现
@EnableFeignClients // 开启feign功能
public class ApiPassengerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ApiPassengerApplication.class);
    }

}